﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Admin_photoAdd.aspx.cs" Inherits="Master_Admin_photoAdd" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="Css/Css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="Form1" runat="server">
    <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border" align="center">
        <tr>
            <td colspan="2" align="center" class="title">
                <strong>图 片 分 类 管 理</strong>
            </td>
        </tr>
        <tr class="tdbg">
            <td width="70" height="30">
                <strong>管理导航：</strong>
            </td>
            <td height="30">
                <a href="Admin_photoClassAdd.aspx">添加分类</a>&nbsp;|&nbsp;<a href="Admin_photoClass.aspx">所有分类</a>&nbsp;|&nbsp;<a
                    href="Admin_photoAdd.aspx">添加图片</a>&nbsp;|<a href="Admin_photolist.aspx?Action=my">我添加的图片</a>&nbsp;|&nbsp;<a
                        href="Admin_photolist.aspx">所有图片</a>&nbsp;|&nbsp;<a href="Admin_photolist.aspx?Action=check">审核图片</a>
            </td>
        </tr>
    </table>
      
    <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border" align=center>
            <tr>
                <td colspan="2" align="center" class="title">
                    <strong>
                        添加祭祀图片</strong>
                </td>
            </tr>
            <tr class="tdbg">
                <td width="300" height="25" valign="middle">
                    <strong>分类名称：</strong>
                </td>
                <td height="25">
                    <asp:DropDownList ID="DD_ClassList" runat="server">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="DD_ClassList" Display="Dynamic" 
                        ErrorMessage="请选择分类名称,分类名称不能为空"></asp:RequiredFieldValidator>
                </td>
            </tr>
            
            <tr class="tdbg">
                <td width="300" height="25" valign="middle">
                    <strong>图片名称：</strong></td>
                <td height="25">
                    <asp:TextBox ID="Txt_PicName" runat="server" Width="192px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="Txt_PicName" Display="Dynamic" ErrorMessage="图片名称不能为空"></asp:RequiredFieldValidator>
                </td>
            </tr>            
            
            
            <tr class="tdbg">
                <td width="300" height="25" valign="middle">
                    <strong>图片地址：</strong>
                </td>
                <td height="25">
                    <asp:FileUpload ID="FileUpload1" runat="server" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="FileUpload1" Display="Dynamic" ErrorMessage="请上传图片"></asp:RequiredFieldValidator>
                </td>
            </tr>            
            
            
            <tr class="tdbg">
                <td width="300" height="25">
                    <strong>图片说明：</strong>
                </td>
                <td height="25">
                    <asp:TextBox ID="Txt_Readme" runat="server" Height="82px" TextMode="MultiLine" 
                        Width="319px"></asp:TextBox>
                </td>
            </tr>
            <tr class="tdbg">
                <td height="40" colspan="2" align="center">
                    <input name="Action" type="hidden" id="Action" value="SaveModify">
                    <asp:Button  ID="btnSubmit" runat="server" 
                        Style="cursor: hand; background-color: #cccccc; height: 20px;" 
                        Text="  确     定  " OnClick="btnSubmit_Click" />&nbsp;
                       <asp:Button  ID="Button1" runat="server" 
                        Style="cursor: hand; background-color: #cccccc; height: 20px;" 
                        Text="  修     改  " onclick="Button1_Click" Visible="false" />
                    
                    
                    
                </td>
            </tr>
        </table>  
    </form>
</body>
</html>
